package com.ms.dao.mapper.basic;

import java.util.List;

import org.apache.ibatis.annotations.Select;

import com.ms.dao.entity.basic.ResourcesEty;
import com.ms.dao.entity.basic.SysUserEty;


public interface SysUserDao extends com.eddy.dao.base.BaseDao {
	
	@Select("select * from resources r where r.isValiDate = 1 and r.parantNodeId = #{id} order by menuOrder")
	List<ResourcesEty> selectUserTree(SysUserEty ety);
	
	@Select("select * from users where id=#{id}")
	public SysUserEty selectByUserId(int id);
}

